import request from '@/utils/request'

export function type() {
	return request({
		url: '/source/type',
		method: 'get'
	})
}

export function list(query) {
	return request({
		url: '/source/list',
		method: 'get',
		params: query
	})
}

export function option() {
	return request({
		url: '/source/option',
		method: 'get'
	})
}



export function info(id) {
	return request({
		url: '/source/'+id,
		method: 'get'
	})
}
